<div id="hoisted-script"></div>

<script>
document.getElementById('hoisted-script').innerHTML = 'Hoisted success';
</script>
